package observer_pattern;

import java.util.Observable;
import java.util.Observer;

/**
 * @author liwuji
 * @date 2023/12/26
 * @desc 观察者2
 **/
public class BinaryObserver implements Observer {
    @Override
    public void update(Observable o, Object arg) {
        System.out.println("BinaryObserver: "+(String) arg);
    }
}
